import request from '@/util/request.js'

//告警记录表查询
export const alertRecordsListService = (params) => {
    return request.post('/records', params );
}

//告警记录表时间查询条数
export const recordTimeListService= (params) =>{
    return request.post('/records/getByTimeList',params);
}


//告警记录表删除
export const alertRecordDeleteService = (id) => {
    return request.delete(`/records/${id}`); // 将 id 作为路径参数传递
}

